/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jackey
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.dao;

import org.springframework.stereotype.Repository;

import com.eyaomall.wxmall.model.po.DiscountGoods;
import com.lycheeframework.core.annotation.NameSpace;
import com.lycheeframework.core.support.DaoSupport;
/**
 * GoodsDao
 * @author pro
 *
 */
@Repository
@NameSpace("discount_goods")
public class DiscountGoodsDao extends DaoSupport<DiscountGoods>{

	/**
	 * 增加活动参与人数
	 */
	public boolean addJoinNum(Integer discountid) {
		DiscountGoods vo=new DiscountGoods();
		vo.setId(discountid);
		return super.update("addJoinNum", vo)>0?true:false;
		
	}


}
